/*
********************************************************************************
*                                EXAMPLE CODE
*
*            (c) Copyright 2003-2013; Micrium, Inc.; Weston, FL
*
*        All rights reserved.  Protected by international copyright laws.
*        Knowledge of the source code may NOT be used to develop a similar product.
*        Please help us continue to provide the Embedded community with the finest
*        software available.  Your honesty is greatly appreciated.
********************************************************************************
*/

/*
********************************************************************************
*                             uC/OS-III Application Code
*                                     Template
*
* The template application code provided here can be used as a foundation for 
*your own uC/OS-III-based projects.  This file, app_cfg.h, is normally where an 
* application's task priorities and stack sizes
* are defined.
*
* Filename      : w25q128.h
* Version       : V1.00
********************************************************************************
*/

#ifndef  __W25Q128_H__
#define  __W25Q128_H__

#include  "includes.h"

/*
********************************************************************************
*                            APP TASK START CONFIG
********************************************************************************
*/

/*
********************************************************************************
*                            FUNCTION PROTOTYPES
********************************************************************************
*/
void W25Q128_Init(void);
void W25Q128_Read (uint8_t *pBuff, uint32_t ReadAddr, uint16_t NumByteToRead);
void W25Q128_Write_Page (uint8_t *pBuffer,uint32_t WriteAddr,uint16_t NumByteToWrite);
void W25Q128_Write_No_Check (uint8_t* pBuffer,uint32_t WriteAddr,uint16_t NumByteToWrite);
void W25Q128_Write (uint8_t *pBuffer, uint32_t WriteAddr, uint16_t NumByteToWrite);
void W25Q128_Erase_Chip(void);
void W25Q128_Erase_Sector(uint32_t Dst_Addr);
void W25Q128_PowerDown(void);
void W25Q128_WakeUp(void);


#endif    //__W25Q128_H__